{include file="public/header" /}





<div class="page">
    <div class="fixed-bar">
        <div class="item-title">
            <div class="subject">
                <h3>支付方式</h3>
                <h5></h5>
            </div>
            {include file="public/admin_items" /}
        </div>
    </div>


    <table class="sc-default-table">
        <thead>
            <tr>
                <th width="10%">支付方式</th>
                <th width="10%">启用</th>
                <th width="10%">适配平台</th>
                <th width="20%">描述</th>
                <th>{$Think.lang.sc_handle}</th>
            </tr>
        </thead>
        <tbody>
            {foreach name="payment_list" item="payment"}
            <tr>
                <td>{$payment.payment_name}</td>
                <td>{if $payment.payment_state eq '1'}{$Think.lang.payment_index_enable_ing}{else}{$Think.lang.payment_index_disable_ing}{/if}</td>
                <td>{$payment.payment_platform}</td>
                <td>{$payment.payment_desc}</td>
                <td>
                    {if $payment.install == '1'}
                    <a href="javascript:scLayerOpen('{:url('Payment/edit',['payment_code'=>$payment.payment_code])}','{$Think.lang.sc_edit}-{$payment.payment_name}')" class="dsui-btn-edit"><i class="fa"></i>{$Think.lang.sc_edit}</a>
                    <a href="javascript:scLayerConfirm('{:url('Payment/del',['payment_code'=>$payment.payment_code])}','{$Think.lang.sc_ensure_del}')" class="dsui-btn-del"><i class="fa"></i>{$Think.lang.sc_del}</a>
                    {else/}
                    <a href="javascript:scLayerConfirm('{:url('Payment/install',['payment_code'=>$payment.payment_code])}','{$Think.lang.sc_ensure_install}')" class="dsui-btn-add"><i class="fa"></i>{$Think.lang.sc_install}</a>
                    {/if}
                </td>
            </tr>
            {/foreach}
        </tbody>
    </table>
</div>


